// cover some element-ui styles

.el-breadcrumb__inner,
.el-breadcrumb__inner a {
  font-weight: 400 !important;
}

.el-upload {
  input[type="file"] {
    display: none !important;
  }
}

.el-upload__input {
  display: none;
}


// to fixed https://github.com/ElemeFE/element/issues/2461
.el-dialog {
  transform: none;
  left: 0;
  position: relative;
  margin: 0 auto;

  /* 右上角关闭按钮样式 */
  .el-dialog__headerbtn {
    position: absolute;
    right: 20px;
    top: 25px;
    z-index: 11;
  }

  .el-dialog__header {
    height: 70px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 0;
  }

  .el-dialog__body {
    padding: 20px 20px 30px 20px;

  }
}

/* 后加按钮需要放在左上角 */
.pos {
  position: absolute;
  left: 0;
  top: 0;
  // width: 100%;
  z-index: 9;
}

/* 弹窗后加的标题样式 */
.formTopFont {
  margin-bottom: 20px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

// refine element ui upload
.upload-container {
  .el-upload {
    width: 100%;

    .el-upload-dragger {
      width: 100%;
      height: 200px;
    }
  }
}

// dropdown
.el-dropdown-menu {
  a {
    display: block
  }
}

// to fix el-date-picker css style
.el-range-separator {
  box-sizing: content-box;
}


.el-card.box-card {
  .el-card__body {
    padding: 15px !important;
  }
}

.el-table {
  border-top: 1px solid #dfe6ec;

  thead {
    tr {
      th {
        background-color: #f5f7fa;
        border-right-color: #dfe6ec;
      }

    }
  }
}

.el-table--default {
  td {
    padding: 4px 0 !important;
  }

  .cell {
    height: 33px;
    line-height: 35px !important;
  }
}

/* 各个尺寸下 表格的高度行高 */
.el-table--medium {
  td {
    padding: 3px 0 !important;
  }

  .cell {
    height: 30px;
    line-height: 33px !important;
  }
}

.el-table--small {
  td {
    padding: 2px 0 !important;
  }

  .cell {
    height: 28px;
    line-height: 30px !important;
  }
}

.el-table--mini {
  td {
    padding: 1px 0 !important;
  }

  .cell {
    height: 25px;
    line-height: 25px !important;
  }
}

// .el-table--mini td{
//   padding: 1px 0 !important;
// }

.el-link--inner {
  font-size: 12px;
  user-select: none;
}


/* 各尺寸下 el-button padding */
.el-button,
.el-button.is-round {
  padding: 9px 15px !important;
}

.el-button--mini,
.el-button--mini.is-round {
  padding: 6px 15px !important;
}

.el-button--small,
.el-button--small.is-round {
  padding: 7px 15px !important;
}

.el-button--medium,
.el-button--smmediumall.is-round {
  padding: 8px 15px !important;
}

/* 表格按钮单独控制 */
.el-button-group {

  .el-button,
  .el-button.is-round {
    padding: 8px 15px !important;
  }

  .el-button--mini,
  .el-button--mini.is-round {
    padding: 3px 15px !important;
  }

  .el-button--small,
  .el-button--small.is-round {
    padding: 4px 15px !important;
  }

  .el-button--medium,
  .el-button--smmediumall.is-round {
    padding: 4px 15px !important;
  }
}

.el-progress-bar__innerText {
  color: rgb(96, 98, 102);
}


.el-dialog {
  .el-form {
    .el-form-item {

      .el-select,
      .el-date-editor {
        width: 100%;
      }
    }
  }

}